package cn.xspace.module.other.bean;

/**
 * 收藏夹bean
 */
public class FavoriteFolderBean {
    String folderName = "";
    String folderId = "";
    String isLeaf = "";
    String parentId = "";
    boolean islastone;

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public boolean isIslastone() {
        return islastone;
    }

    public void setIslastone(boolean islastone) {
        this.islastone = islastone;
    }

    public FavoriteFolderBean(String folderName, String folderId, String isLeaf) {
        super();
        this.folderName = folderName;
        this.folderId = folderId;
        this.isLeaf = isLeaf;
    }

    public FavoriteFolderBean(boolean islastone) {
        super();
        this.islastone = islastone;
    }

    public String getFolderName() {
        return folderName;
    }

    public void setFolderName(String folderName) {
        this.folderName = folderName;
    }

    public String getFolderId() {
        return folderId;
    }

    public void setFolderId(String folderId) {
        this.folderId = folderId;
    }

    /**
     * 是否有子目录 0有 1没有
     *
     * @return
     */
    public String getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(String isLeaf) {
        this.isLeaf = isLeaf;
    }

    @Override
    public String toString() {
        return "FavoriteFolderBean{" +
                "folderName='" + folderName + '\'' +
                ", folderId='" + folderId + '\'' +
                ", isLeaf='" + isLeaf + '\'' +
                ", parentId='" + parentId + '\'' +
                ", islastone=" + islastone +
                '}';
    }
}
